const intialState = {
  typeName: "",
}

const reducer = function (state = intialState, action) {
  switch (action.type) {
    case "TAB_INDEX":
      return Object.assign({}, state, {
        typeName: action.typeName
      })
    default:
      return state
  }
}
export default reducer